package com.sondertara.joya.core.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.OffsetDateTime;

@Entity
@Data
@Table(name="app_du")
public class AppDuPo {

    @Id
    @Column(name="DU_ID")
    private String duId;

    @Column(name="APP_ID")
    private String appId;

    @Column(name="DU_NAME")
    private String name;

    @Column(name="IS_ACTIVE")
    private String isActive;

    @Column(name="DU_TYPE_CODE")
    private String duTypeCode;

    @Column(name="DATACENTER_ID")
    private Long datacenterId;

    @Column(name = "DATACENTER")
    private String datacenter;

    @Column(name = "PORTFOLIO_INDEX")
    private String portFolioIndex;

    @Column(name = "HEALTH_CHECK_TIMESLOT")
    private String healthCheckTimeSlot;

    @Column(name = "MAINTEIN_TIMESLOT")
    private String maintainTimeSlot;

    @Column(name = "ALERT_CLOSED_TIMESLOT")
    private String alertClosedTimeSlot;

    @Column(name = "LAST_UPDATE_TIME")
    private OffsetDateTime lastUpdateTime;


    @Column(name = "END_TIME")
    private OffsetDateTime endTime;

    @Column(name = "START_TIME")
    private OffsetDateTime startTime;

}